package org.doubango.FrCall.Screens;

import org.doubango.FrCall.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.view.Window;
import android.widget.Button;

public class DialPage extends Activity {
    private Button end;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
//		ViewGroup.LayoutParams para = new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
//		addContentView(LayoutInflater.from(DialPage.this).inflate(R.layout.dial_page, null), para);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.dial_page);
		end=(Button)findViewById(R.id.call_end);
		end.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent i=new Intent(getApplicationContext(), ScreenContactsPage.class);
				startActivity(i);
			}
		});
	}
	
}
